package cn.net.lwj.singledb;

import cn.net.lwj.common.util.SpringUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import tk.mybatis.spring.annotation.MapperScan;

@MapperScan(basePackages = {"cn.net.lwj.singledb.mapper", "generate.mapper"})
@Import(SpringUtil.class)
@SpringBootApplication
//@SpringBootApplication(scanBasePackages="cn.net.lwj.singledb.control")
public class SingledbApplication {

    public static void main(String[] args) {
        SpringApplication.run(SingledbApplication.class, args);
    }

}
